﻿@model VoiceAd.Models.tblSection

@{
    ViewBag.Title = "Chỉnh sửa thời gian phát sóng";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<h2>Chỉnh sửa thời gian phát sóng</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Thông tin</legend>

        @Html.HiddenFor(model => model.Id)

        <div class="editor-label">
            Thời gian (Vi)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SectionName_Vn)
            @Html.ValidationMessageFor(model => model.SectionName_Vn)
        </div>

        <div class="editor-label">
            Thời gian (En)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SectionName_En)
            @Html.ValidationMessageFor(model => model.SectionName_En)
        </div>

        <p>
            <input type="submit" value="Lưu" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Danh mục thời gian phát sóng", "Section")
</div>

